Printers

public interface Printers<PdfT extends PrintSettings, SystemT extends PrintSettings>

Provides access to the available printers.

Since

7.13

Parameters

<PdfT>

the type of the settings available when printing on the PDF printer

<SystemT>

the type of the settings available when printing on a system printer

Functions

Link copied to clipboard
Returns the default system printer or an empty Optional if there is no default printer.
Link copied to clipboard
public abstract List<SystemPrinter<SystemT>> list()
Returns an immutable list of the available system printers.
Link copied to clipboard
public abstract PdfPrinter<PdfT> pdfPrinter()
Returns a PdfPrinter instance that allows you to print to PDF.